import mockjs from "mockjs";

const BillMock = mockjs.mock({
  "data|30": [
    {
      "_id": '@id',
      "roomNum": "0@integer(1,9)栋@integer(1,3)单元@integer(1,9)@integer(0,9)@integer(1,9)",
      "getGain": "@pick(['水费', '电费', '物业费','管道费', '卫生费', '停车费'])",
      "unitPrice": '@integer(0,100)',
      "period": "@date() ~ @date()",
      "costPrice": '@integer(50,300)',
      "billState": "@boolean()",
      "payment": '@integer(0,100)'
    },
  ],
})

export default BillMock.data;